package org.rk.core.user.userRole;

import javax.validation.constraints.NotNull;

import org.rk.core.common.anno.FieldMeta;
import org.rk.core.common.anno.TableMeta;
import org.rk.core.common.bean.BaseBean;
@TableMeta(name = "core_role", catalog = "rk_user_manage")
public class CoreRole extends BaseBean{

	private static final long serialVersionUID = 1L;
	@NotNull
	@FieldMeta(name="code",length=100,desc="")
	private String code;
	@NotNull
	@FieldMeta(name="name",length=100,desc="")
	private String name;
	@NotNull
	@FieldMeta(name="fatherCode",length=100,desc="")
	private String fatherCode;
	@FieldMeta(name="enabled",length=1,desc="")
	private String enabled;
	@FieldMeta(name="remark",length=200,desc="")
	private String remark;


	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getFatherCode() {
		return fatherCode;
	}

	public void setFatherCode(String fatherCode) {
		this.fatherCode = fatherCode;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setEnabled(String enabled){
		this.enabled=enabled;
	}

	public String getEnabled(){
		return enabled;
	}

	public void setRemark(String remark){
		this.remark=remark;
	}

	public String getRemark(){
		return remark;
	}

}
